﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.PageConfig
{
    public class BannerConfig
    {
        public BannerConfig()
        { }

        private string configid = "{00000000-0000-0000-0000-000000000000}";
        private string regardingobjectid = "{00000000-0000-0000-0000-000000000000}";
        private string regardingobjectname = "";
        private int regardingobjecttypecode = 0;
        private string regardingobjecttypename = "";
        private string showposition = "";
        private int showpositioncode = 0;
        private string linkurl = "";
        private string picture1 = "";
        private int statuscode = 0;
        private string createdby = "{00000000-0000-0000-0000-000000000000}";
        private DateTime createdon;
        private string modifyby = "{00000000-0000-0000-0000-000000000000}";
        private DateTime modifyon;
        private string text1 = "";
        
        /// <summary>
        /// 
        /// </summary>
        public string ConfigId
        {
            set { configid = value; }
            get { return configid; }
        }
        /// <summary>
        /// 关联主体主键ID
        /// </summary>
        public string RegardingObjectId
        {
            set { regardingobjectid = value; }
            get { return regardingobjectid; }
        }
        /// <summary>
        /// 关联主体名称/Title
        /// </summary>
        public string RegardingObjectName
        {
            set { regardingobjectname = value; }
            get { return regardingobjectname; }
        }
        /// <summary>
        /// 关联对象类型，1 抢购，2  首页图片展示类别
        /// </summary>
        public int RegardingObjectTypeCode
        {
            set { regardingobjecttypecode = value; }
            get { return regardingobjecttypecode; }
        }
        /// <summary>
        /// 关联对象类型名称，如：抢购，首页图片展示类别
        /// </summary>
        public string RegardingObjectTypeName
        {
            set { regardingobjecttypename = value; }
            get { return regardingobjecttypename; }
        }
        /// <summary>
        /// 显示位置，左、中、右。。。
        /// </summary>
        public string ShowPosition
        {
            set { showposition = value; }
            get { return showposition; }
        }
        /// <summary>
        /// 位置代码，由左至右，由上至下，从大到小
        /// </summary>
        public int ShowPositionCode
        {
            set { showpositioncode = value; }
            get { return showpositioncode; }
        }
        /// <summary>
        /// 链接地址
        /// </summary>
        public string LinkURL
        {
            set { linkurl = value; }
            get { return linkurl; }
        }
        /// <summary>
        /// 显示图片
        /// </summary>
        public string Picture1
        {
            set { picture1 = value; }
            get { return picture1; }
        }
        /// <summary>
        /// 状态：1 显示，0 不显示
        /// </summary>
        public int StatusCode
        {
            set { statuscode = value; }
            get { return statuscode; }
        }       
        /// <summary>
        /// 
        /// </summary>
        public string Text1
        {
            set { text1 = value; }
            get { return text1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatedBy
        {
            set { createdby = value; }
            get { return createdby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreatedOn
        {
            set { createdon = value; }
            get { return createdon; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ModifyBy
        {
            set { modifyby = value; }
            get { return modifyby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime ModifyOn
        {
            set { modifyon = value; }
            get { return modifyon; }
        }
    }
}
